/*
 * @(#) DBBaseEntity.java 2010-9-15
 *
 * Copyright (c) 2010, Strong Technology. All Rights Reserved.
 * Strong Technology. CONFIDENTIAL
 */

package cn.strong.gweva.common.business.entity.db;
import java.util.Date;

import cn.strong.gweva.common.business.entity.BaseEntity;
import cn.strong.gweva.common.util.DateUtil;


/**
 * 数据库Entity基类
 * 
 * @author lilanfei
 * @version 1.0
 * @since 2010-9-3
 */
public class DBBaseEntity extends BaseEntity
{
	/** serialVersionUID */
	private static final long serialVersionUID = -2179171912910869124L;
    /** 删除标记 */
    private java.lang.String delFlag;
    /** 更新时间 */
    private java.util.Date updateTime;
    /** 更新用户ID */
    private java.lang.Integer updateUserId;
	/** 画面Bing用修改时间 */
	private String strUpdateTime;
	/**
	 * 获取
	 * @return delFlag
	 */
	public String getDelFlag()
	{
		return delFlag;
	}
	/**
	 * 设定
	 * @param delFlag 
	 */
	public void setDelFlag(String delFlag)
	{
		this.delFlag = delFlag;
	}
	/**
	 * @return updateTime
	 */
	public Date getUpdateTime()
	{
		return updateTime;
	}
	/**
	 * @param updateTime updateTime
	 */
	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
		this.strUpdateTime = DateUtil.getDateString(updateTime, DateUtil.DATE_PATTERN_02);
	}
	/**
	 * @return updateUserId
	 */
	public Integer getUpdateUserId()
	{
		return updateUserId;
	}
	/**
	 * @param updateUserId updateUserId
	 */
	public void setUpdateUserId(Integer updateUserId)
	{
		this.updateUserId = updateUserId;
	}
	/**
	 * @return strUpdateTime
	 */
	public String getStrUpdateTime()
	{
		return strUpdateTime;
	}
	/**
	 * @param strUpdateTime strUpdateTime
	 */
	public void setStrUpdateTime(String strUpdateTime)
	{
		this.strUpdateTime = strUpdateTime;
		this.updateTime  = DateUtil.getDateByString(strUpdateTime, DateUtil.DATE_PATTERN_02);
	}
}
